package com.suqiu.qqrobot;

import love.forte.simboot.spring.autoconfigure.EnableSimbot;
import net.mamoe.mirai.utils.BotConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import xyz.cssxsh.mirai.tool.FixProtocolVersion;

@EnableSimbot
@SpringBootApplication
public class QqRobotApplication {

    public static void main(String[] args) {

        // 获取 8.9.63 版本协议
        FixProtocolVersion.fetch(BotConfiguration.MiraiProtocol.ANDROID_PHONE, "8.9.63");
        SpringApplication.run(QqRobotApplication.class, args);
        System.err.println("启动完成...");
    }

}
